<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" isELIgnored="false"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link style="text/css" rel="stylesheet" href="css/registe_success.css" />
<script type="text/javascript" src="js/jquery-1.9.0.js"></script>
<title>注册申请成功</title>
<!-- 
	服务号注册申请成功页面
 -->
</head>
<body>
	<div class="container">
		<div>
			<span class="registe_success">注册申请成功</span>
		</div>
		<div>
			<span>微信用户：<span  class="value">${user_logname}</span></span>
		</div>
		<div>
			<span id="goback" class="value">3</span>
			<span>秒后退回上一页</span>
		</div>
	</div>
</body>
<script>
	$(document).ready(function(){
		//三秒后退回上一页
		var time = 3;
		var t = window.setInterval(function(){
			$("#goback").html(--time);
			if(time == 0){
				if(window.history.length>1){
					window.history.go(-1);				
				}
				else{
					window.clearInterval(t);
				}
			}
		},1000);
	})
</script>
</html>